package fr.afcepf.atod.gestionVP.tests;

import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;

import fr.afcepf.atod.gestionVP.dao.IDaoVente;



@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration (locations={"/springContextAnnot.xml"})
@TransactionConfiguration(transactionManager="txManager",defaultRollback=false) //ainsi la classe de testDao se comporte presque come une classe service 
@Transactional
public class TestVente {

	@Autowired
	private IDaoVente vente; 
	
}
